Running Builds Quick Start
-
Visual Studio IDE:
-
In Visual Studio, click Extensions > Incredibuild > Rebuild Solution.
-
Run a build twice. The first build populates the Build Cache, the second build demonstrates the acceleration you will see when a build is already in the cache.
-
-
Visual Studio CMD:
-
Instead of the MSBuild command, use the Incredibuild BuildConsole command:
BuildConsole <solution> /cfg=<configuration> /rebuild /openmonitor
For example:
BuildConsole MySolution.sln /cfg="Debug|Win64" /rebuild /openmonitor
-
Run the build twice. The first build populates the Build Cache, the second build demonstrates the acceleration when a build is already in the cache.
-
-
Make/Ninja:
-
Instead of make or ninja, use the Incredibuild BuildConsole command:
BuildConsole /command="<original make/ninja command>" /openmonitor
For example:
BuildConsole /command="make --file=makefile.mak -B" /openmonitor
-
Run the build twice. The first build populates the Build Cache, the second build demonstrates the acceleration when a build is already in the cache.
-
-
Other:
-
Consult Incredibuild Running Builds.
-
Build Cache uses /Z7 rather than the default /Zi.